package com.hckjsec.system.mapper;

import java.util.List;
import com.hckjsec.system.domain.WorkOaCwa;

/**
 * 考勤主Mapper接口
 * 
 * @author cyt
 * @date 2021-06-26
 */
public interface WorkOaCwaMapper 
{
    /**
     * 查询考勤主
     * 
     * @param cwaId 考勤主ID
     * @return 考勤主
     */
    public WorkOaCwa selectWorkOaCwaById(Long cwaId);

    /**
     * 查询考勤主列表
     * 
     * @param workOaCwa 考勤主
     * @return 考勤主集合
     */
    public List<WorkOaCwa> selectWorkOaCwaList(WorkOaCwa workOaCwa);

    /**
     * 新增考勤主
     * 
     * @param workOaCwa 考勤主
     * @return 结果
     */
    public int insertWorkOaCwa(WorkOaCwa workOaCwa);

    /**
     * 修改考勤主
     * 
     * @param workOaCwa 考勤主
     * @return 结果
     */
    public int updateWorkOaCwa(WorkOaCwa workOaCwa);

    /**
     * 删除考勤主
     * 
     * @param cwaId 考勤主ID
     * @return 结果
     */
    public int deleteWorkOaCwaById(Long cwaId);

    /**
     * 批量删除考勤主
     * 
     * @param cwaIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteWorkOaCwaByIds(Long[] cwaIds);
}
